import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
import router from "./router";
import axios from "axios";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import { createPinia } from "pinia";

import ScaleContainer from "@/components/ScaleContainer.vue";
import "@/styles/fonts.scss";

axios.defaults.baseURL = import.meta.env.VITE_API_BASE_URL;
const app = createApp(App);
const pinia = createPinia()

app.component("ScaleContainer", ScaleContainer);
app.use(router);
app.use(pinia);
app.use(ElementPlus);
app.mount("#app");
